package com.moi.adapter;

public class AmericaHome {

    private  AmericaSocket americaSocket;
    public  AmericaHome(){

    }

    public AmericaSocket getAmericaSocket() {
        return americaSocket;
    }

    public void setAmericaSocket(AmericaSocket americaSocket) {
        this.americaSocket = americaSocket;
    }

    public void useElec(){
        this.americaSocket.doWork();
    }
}
